﻿using System.ComponentModel.Composition;
using System.Windows.Controls;

namespace SilverlightCalculator
{
    public partial class CalculatorPage : UserControl
    {
        [Import]
        public CalculatorViewModel CalculatorViewModel { get; set; }

        public CalculatorPage()
        {
            InitializeComponent();
            CompositionInitializer.SatisfyImports(this);
            DataContext = CalculatorViewModel;
        }
    }
}
